package com.stylefeng.guns.modular.system.model;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author lyl
 * @since 2018-08-16
 */
@TableName("activity_centre")
public class ActivityCentre extends Model<ActivityCentre> {

    private static final long serialVersionUID = 1L;

    /**
     * 活动中间表id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 活动表id
     */
    private Integer activityid;
    /**
     * 用户表id
     */
    private Integer wxuserid;
    /**
     * 活动状态，0是未参加 1已参加
     */
    @TableField("activity_state")
    private Integer activityState;
    /**
     * 当前时间
     */
    @TableField("n_date")
    private Date nDate;
    /**
     * 修改时间
     */
    @TableField("u_date")
    private Date uDate;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getActivityid() {
        return activityid;
    }

    public void setActivityid(Integer activityid) {
        this.activityid = activityid;
    }

    public Integer getWxuserid() {
        return wxuserid;
    }

    public void setWxuserid(Integer wxuserid) {
        this.wxuserid = wxuserid;
    }

    public Integer getActivityState() {
        return activityState;
    }

    public void setActivityState(Integer activityState) {
        this.activityState = activityState;
    }

    public Date getnDate() {
        return nDate;
    }

    public void setnDate(Date nDate) {
        this.nDate = nDate;
    }

    public Date getuDate() {
        return uDate;
    }

    public void setuDate(Date uDate) {
        this.uDate = uDate;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ActivityCentre{" +
        "id=" + id +
        ", activityid=" + activityid +
        ", wxuserid=" + wxuserid +
        ", activityState=" + activityState +
        ", nDate=" + nDate +
        ", uDate=" + uDate +
        "}";
    }
}
